# coding utf-8
class Animal(object):
    def eat(self):
        print('吃东西')


class Fox(Animal):
    def say(self):
        print('大楚兴，陈胜王')


class SmartFox(Fox):
    pass

    def eat(self):
        super().eat()
        print('狐狸在吃东西')


# 单继承
_fox = Fox()
_fox.eat()
# 多层继承
_fox = SmartFox()
# 重写父类方法
_fox.eat()
_fox.say()
